import http from "@/api/index";

export function getAutoCheckList(data:Object): Promise<any> {
  return http.request({
    url: `/front/data/getAutoCheckList`,
    method: "POST",
    data:data
  });
}
export function getConfig(data:Object): Promise<any> {
  return http.request({
    url: `/front/data/config`,
    method: "POST",
    data:data
  });
}
export function allCameraList(data:Object): Promise<any> {
  return http.request({
    url: `/front/data/getAllCameraList`,
    method: "POST",
    data:data
  });
}
export function setAutoCheck_(data:Object): Promise<any> {
  return http.request({
    url: `/front/data/setAutoCheck`,
    method: "POST",
    data:data
  });
}
export function setAutoCheckStatus(data:Object): Promise<any> {
  return http.request({
    url: `/front/data/setAutoCheckStatus`,
    method: "POST",
    data:data
  });
}
